#! /usr/bin/python3
# _*_ coding:UTF-8 _*_

class MyError(Exception):
	def __init__(self):
		pass
	
	def __str__(self):
		return 'this is self define error'
	
def my_error_test():
	try:
		raise MyError()
	except MyError as e:
		print('exception info:',e)

my_error_test()